package com.gimi.cloud.bbp.manage.service.mall;

import com.gimi.cloud.bbp.dto.mall.MallAppBannerDTO;
import com.gimi.cloud.bbp.manage.service.BaseService;

import java.util.List;

/**
 *  Banner管理相关接口
 * @author wbj
 * @version 1.0
 * @Description
 * @create 2018-01-30
 **/
public interface MallAppBannerService extends BaseService<MallAppBannerDTO>{
    /**
     * 批量删除不再指定Banner组且不在bannerId范围内的Banner数据
     * @param dto
     * @param bannerIds banner集合
     * @param abgId banner组id
     * @return Integer 受影响的行数
     * @throws Exception
     */
    Integer deleteBannerByIds(MallAppBannerDTO dto,List<Integer> bannerIds,Integer abgId) throws Exception;

}
